package com.controller;

import org.activiti.engine.delegate.DelegateTask;
import org.activiti.engine.delegate.TaskListener;

public class TaskListenerImpl implements TaskListener {

	@Override
	public void notify(DelegateTask task) {
		//设置个人任务
		//task.setAssignee("");
		
		//设置组任务
		task.addCandidateUser("小A");
		task.addCandidateUser("小B");
		task.addCandidateUser("小C");
		
	}

}
